﻿

namespace Profit.Controls
{
    using System.Windows;
    using System.Windows.Controls;
    using Core.Contracts.Interfaces;

    /// <summary>
    /// Interaction logic for AgentAttributesControl.xaml
    /// </summary>
    public partial class AgentAttributesControl : UserControl
    {
        public static DependencyProperty AgentProperty = DependencyProperty.Register("Agent", typeof(IAgent), typeof(AgentAttributesControl), new PropertyMetadata((IAgent)null));
        
        public AgentAttributesControl()
        {
            InitializeComponent();
        }

        public IAgent Agent
        {
            get { return GetValue(AgentProperty) as IAgent; }
            set { SetValue(AgentProperty,value); }
        }

        
    }
}
